package com.xzssmk.leisure.x.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.xzssmk.leisure.x.po.PeriodLargess;
import com.xzssmk.leisure.x.po.PeriodLargessExample;
import com.xzssmk.leisure.x.po.PeriodLargessExt;

public interface PeriodLargessMapper {
    long countByExample(PeriodLargessExample example);

    int deleteByExample(PeriodLargessExample example);

    int deleteByPrimaryKey(Integer periodLargessId);

    int insert(PeriodLargess record);

    int insertSelective(PeriodLargess record);

    List<PeriodLargess> selectByExampleWithBLOBs(PeriodLargessExample example);

    List<PeriodLargess> selectByExample(PeriodLargessExample example);

    PeriodLargess selectByPrimaryKey(Integer periodLargessId);

    int updateByExampleSelective(@Param("record") PeriodLargess record, @Param("example") PeriodLargessExample example);

    int updateByExampleWithBLOBs(@Param("record") PeriodLargess record, @Param("example") PeriodLargessExample example);

    int updateByExample(@Param("record") PeriodLargess record, @Param("example") PeriodLargessExample example);

    int updateByPrimaryKeySelective(PeriodLargess record);

    int updateByPrimaryKeyWithBLOBs(PeriodLargess record);

    int updateByPrimaryKey(PeriodLargess record);

    long selectRecordCount(@Param("issuePeriodId") Integer issuePeriodId,
        @Param("storeLargessId") Integer storeLargessId, @Param("priorityLevel") Byte priorityLevel);

    List<PeriodLargessExt> getPageList(@Param("subSQL") String subSQL);

    int deleteByPrimaryKeys(@Param("idlist") List<Integer> idlist);

    List<PeriodLargessExt> bbPageList(@Param("issuePeriodId") String issuePeriodId,
        @Param("storeLargessId") String storeLargessId);
}